Transfer the given object if its properties and fields are compatible with the validations expressed in a declaration first style. Otherwise a ValidationException or an AggregatedValidationException is thrown.
Namespace:
Keystone.Clockwork
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)
Type Parameters
- TObject
-
The object type.
- TDeclarativeValidations
-
The declarative validations type.
Return Value
The original Validate<Input if the specified value is valid.Exception type | Condition |
---|---|
If the Validate<Input value is not valid. |
Keystone.Clockwork.ValidateObject<TObject, TDeclarativeValidations>
Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.